package com.atguigu.srb.core.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * ClassName: UserInfoIndexVO
 * Package: com.atguigu.srb.core.pojo.vo
 * Description:
 *
 * @Author 刘强
 * @Create 2024/4/24 14:29
 * @Version 1.0
 */
@ApiModel("用户首页展示数据的视图对象")
@Data
public class UserInfoIndexVO {
    @ApiModelProperty("最后一次登陆时间")
    private Date lastLoginTime;
    @ApiModelProperty(value = "头像")
    private String headImg;
    @ApiModelProperty(value = "用户姓名")
    private String name;
    @ApiModelProperty(value = "1：出借人 2：借款人")
    private Integer userType;
    @ApiModelProperty(value = "绑定状态（0：未绑定，1：绑定成功 -1：绑定失败）")
    private Integer bindStatus;
    @ApiModelProperty(value = "帐户可用余额")
    private BigDecimal amount;
    @ApiModelProperty(value = "冻结金额")
    private BigDecimal freezeAmount;
}
